package com.fh.shop.api;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@MapperScan({"com.fh.shop.api.*.mapper","com.fh.shop.mapper"})
//@EnableScheduling
@ComponentScan({"com.fh.shop.util","com.fh.shop.api","com.fh.shop.biz"})
public class SpringbootShopApiApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootShopApiApplication.class, args);
    }

}
